import Mock from 'mockjs';
import { getQuery, getQuery1 } from "@/utils/getQuery";

let userList = [
    {
        userName: "mike",
        line: 1,
        area: "互联网",
        start: "2011.1.1",
        end: "2050.1.1",
        application: [
          {
            title: "application1",
            des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
            image: require("@/assets/project.png")
          },
          {
            title: "application1",
            des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
            image: require("@/assets/project.png")
          },
          {
            title: "application1",
            des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
            image: require("@/assets/project.png")
          }
        ],
        url: "https://www.bilibili.com/"
  },
  {
    userName: "jake",
    line: 1,
    area: "金融",
    start: "2010.1.1",
    end: "2040.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.csdn.net/"
},
      {
        userName: "mike",
        line: 2,
        area: "互联网",
        start: "2011.1.1",
        end: "2050.1.1"
      },
      {
        userName: "mike",
        line: 1,
        area: "互联网",
        start: "2011.1.1",
        end: "2050.1.1"
      },
      {
        userName: "mike",
        line: 1,
        area: "互联网",
        start: "2011.1.1",
        end: "2050.1.1"
      },
      {
        userName: "mike",
        line: 1,
        area: "互联网",
        start: "2011.1.1",
        end: "2050.1.1"
      },
      {
        userName: "mike",
        line: 1,
        area: "互联网",
        start: "2011.1.1",
        end: "2050.1.1",
        application: [
          {
            title: "application1",
            des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
            image: require("@/assets/project.png")
          },
          {
            title: "application1",
            des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
            image: require("@/assets/project.png")
          },
          {
            title: "application1",
            des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
            image: require("@/assets/project.png")
          }
        ],
        url: "https://www.bilibili.com/"
  },
  {
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "mike",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "mike",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "mike",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "mike",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},

{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},


{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},

{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},

{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},

{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},
{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},

{
    userName: "tommy",
    line: 1,
    area: "互联网",
    start: "2011.1.1",
    end: "2050.1.1",
    application: [
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      },
      {
        title: "application1",
        des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
        image: require("@/assets/project.png")
      }
    ],
    url: "https://www.bilibili.com/"
},
{
  userName: "tommy",
  line: 1,
  area: "互联网",
  start: "2011.1.1",
  end: "2050.1.1",
  application: [
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    },
    {
      title: "application1",
      des: "dsajdajdsajdalfjlasjfa;slfj;asfja;fjaf",
      image: require("@/assets/project.png")
    }
  ],
  url: "https://www.bilibili.com/"
},

    ];

let searchList = [];

Mock.mock("/mock/user", {code:200,data:userList});
Mock.mock("/mock/deleteuser", params => {
    userList.splice(params, 1);
    return {code:200,data:userList};
});

Mock.mock(/\/mock\/searchuser/, 'get', params => {
    searchList = [];
    for(let i = 0; i < userList.length; i++) {
      console.log(params)
      let arr = getQuery1(params.url)
      //console.log(arr)
        if(arr[3] == userList[i].userName ||
          arr[4] == userList[i].line ||
          arr[5] == userList[i].area ||
          arr[6] == userList[i].start ||
          arr[7] == userList[i].end) {
                searchList.push(userList[i]);
            }
    }
    return {code:200,data:searchList};
});

Mock.mock(/\/mock\/getuserbyid/, 'get', (params) => {
    console.log(params)
    let id = getQuery(params.url)
    let result = userList[id]
    return {code:200, data:result};
});

Mock.mock(/\/mock\/application\/passselected/, 'post', () => {
  //alert("已通过")
});

Mock.mock(/\/mock\/application\/rejectselected/, 'post', () => {
  //alert("已拒绝")
});




export default Mock


